package com.gong.DesignPattern.builder.traditionBuilder;

/**
 * @author GongChang
 * @version 1.0
 * @date 2021/6/10 0010 9:57
 */
public class Director {

    public Computer makeComputer(ComputerBuilder builder){
        builder.setCpu();
        builder.setKeyboard();
        builder.setRam();
        builder.setRom();
        builder.setUsb();

        return builder.build();
    }
}
